<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      AudioFile-0.3.6
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="alsa-oss.html" title=
          "alsa oss-1.1.8">Prev</a>
          <p>
            alsa oss-1.1.8
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="faac.html" title="FAAC-1.29.9.2">Next</a>
          <p>
            FAAC-1.29.9.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="audiofile" name="audiofile"></a>AudioFile-0.3.6
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to AudioFile
        </h2>
        <p>
          The <span class="application">AudioFile</span> package contains the
          audio file libraries and two sound file support programs useful to
          support basic sound file formats.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/audiofile/0.3/audiofile-0.3.6.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/audiofile/0.3/audiofile-0.3.6.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/audiofile/0.3/audiofile-0.3.6.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/audiofile/0.3/audiofile-0.3.6.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 235dde14742317328f0109e9866a8008
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 520 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 18 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.6 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          AudioFile Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="alsa-lib.html" title=
          "alsa-lib-1.2.2">alsa-lib-1.2.2</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="flac.html" title="FLAC-1.3.3">FLAC-1.3.3</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/asciidoc.html" title=
          "Asciidoc-8.6.9">asciidoc-8.6.9</a> and <a class="xref" href=
          "../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/audiofile">http://wiki.linuxfromscratch.org/blfs/wiki/audiofile</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of AudioFile
        </h2>
        <p>
          Install <span class="application">AudioFile</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">CXXFLAGS=-std=c++98 \
./configure --prefix=/usr --disable-static &amp;&amp;

make</kbd>
</pre>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>. Note that the tests will fail if the
          --disable-static option is used and tests are executed before
          <span class="command"><strong>make install</strong></span>. You
          have three options:
        </p>
        <p>
          (a) configure without --disable-static, run the tests, but do not
          install, then start a fresh build using --disable-static just for
          installing the package.
        </p>
        <p>
          (b) configure with --disable-static, but only run the tests after
          the package is installed.
        </p>
        <p>
          (c) configure with --disable-static, but only run the tests after a
          DESTDIR install.
        </p>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">sfconvert and sfinfo</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libaudiofile.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="sfinfo" name="sfinfo"></a><span class=
                    "term"><span class=
                    "command"><strong>sfinfo</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    displays the sound file format, audio encoding, sampling
                    rate and duration for audio formats supported by this
                    library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sfconvert" name="sfconvert"></a><span class=
                    "term"><span class=
                    "command"><strong>sfconvert</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    converts sound file formats where the original format and
                    destination format are supported by this library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libaudiofile" name="libaudiofile"></a><span class=
                    "term"><code class=
                    "filename">libaudiofile.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions used by programs to support AIFF,
                    AIFF-compressed, Sun/NeXT, WAV and BIC audio formats.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-18 16:50:03 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="alsa-oss.html" title=
          "alsa oss-1.1.8">Prev</a>
          <p>
            alsa oss-1.1.8
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="faac.html" title="FAAC-1.29.9.2">Next</a>
          <p>
            FAAC-1.29.9.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
